:root {
  line-height: 1.5;
  font-weight: 400;
  color: #fff;
  color-scheme: light dark;
  font-family: OPPOSans;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --global-back-linear-color: linear-gradient(to right, #7BC6CC, #BE93C5);
  --global-text-color: #444;
  --global-highlight-color:#7BC6CC;
  background: var(--global-back-linear-color);  /* fallback for old browsers */
}

:root.dark{
  --global-back-linear-color: linear-gradient(to left, #7BC6CC, #BE93C5);
  --global-text-color: #fff;
  --global-highlight-color:#BE93C5;
}

::view-transition-new(root),
::view-transition-old(root) {
  /* 关闭默认动画，否则影响自定义动画的执行 */
  animation: none;
}
.dark::view-transition-old(root) {
  z-index: 100;
}

*{
  margin: 0;
  padding: 0;
}
@font-face {
  font-family: Tencent;
  src: url('./assets/font/TencentSans-W7.otf');
}

@font-face {
  font-family: OPPOSans;
  src: url('./assets/font/OPPO Sans-Regular.ttf');
}
